export JAVA_HOME=/usr/java/default
export HADOOP_HOME=hadoop_dir
export HBASE_HOME=laster_dir

export SERVER_GC_OPTS="-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:$HBASE_HOME/logs/server-gc.log.$(date +%Y%m%d%H%M%S) -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=1024M"
#export HBASE_OPTS="$HBASE_OPTS -verbose:gc -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+PrintGCDetails"
#export HBASE_MASTER_OPTS="-Xmx16g -Xms8g -XX:SurvivorRatio=8"
#export HBASE_REGIONSERVER_OPTS="-Xmx8g -Xms8g -XX:+UseG1GC -XX:MaxGCPauseMillis=100 -XX:-ResizePLAB -XX:+ParallelRefProcEnabled -XX:ParallelGCThreads=8 -XX:ConcGCThreads=2 -XX:InitiatingHeapOccupancyPercent=40 -XX:MaxTenuringThreshold=10"

export HBASE_MANAGES_ZK=false
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HADOOP_HOME/lib/native/:/usr/local/lib/
export HBASE_LIBRARY_PATH=$HBASE_LIBRARY_PATH:$HBASE_HOME/lib/:/usr/local/lib/
export CLASSPATH=$CLASSPATH:$HBASE_LIBRARY_PATH

export HBASE_OPTS="-server -XX:PermSize=64m -Xloggc:$HBASE_HOME/logs/hbase-gc.log"
export HBASE_MASTER_OPTS="-Xmx6g -Xmn1g -XX:SurvivorRatio=8"
export HBASE_REGIONSERVER_OPTS="-Xmx35g -Xms35g -XX:+UseG1GC -XX:MaxGCPauseMillis=100 -XX:-ResizePLAB -XX:+ParallelRefProcEnabled -XX:ParallelGCThreads=8 -XX:ConcGCThreads=2 -XX:InitiatingHeapOccupancyPercent=40 -XX:MaxTenuringThreshold=10"



